package net.yeah.mickey_zhouyou.framework.frame;

import java.awt.BorderLayout;

import javax.swing.Icon;
import javax.swing.JPanel;

public abstract class BaseModuleTabPane extends JPanel {

	private static final long serialVersionUID = 7063759265070841200L;

	protected BaseModuleTabPane(String title, Icon icon) {
		this(title, icon, null);
	}

	protected BaseModuleTabPane(String title, Icon icon, String tip) {
		MainFrame.getMainFrame().addTab(title, icon, this, tip);
		super.setLayout(new BorderLayout());
	}

}
